import './index.scss';
import CONSTANT from '@/common/constants.js';
import http from '@/common/http.js';
import navBottom from '../common/nav-bottom.vue'
import Swiper from 'vux/src/components/swiper/swiper.vue'
import SwiperItem from 'vux/src/components/swiper/swiper-item.vue'
export default {
  name: 'findhome',
  data () {
    return {
      loop: true
    }
  },
  components: {
    navBottom, Swiper, SwiperItem
  },
  mounted () {
    if (this.$emit('ifOpenid')) {
      this.$emit('ifOpenid', this.$route.path)
    }
  },
  methods: {
    goGongyiyimai () {
      window.location.href = 'http://mp.weixin.qq.com/bizmall/mallshelf?id=&t=mall/list&biz=MzI4ODIxMTM1MQ==&shelf_id=1&showwxpaytitle=1#wechat_redirect'
    },
    comeBack () {
      window.history.back()
    }
  }
}
